<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="../../bootstrap-table/bootstrap-table.css"/>
    <link rel="stylesheet" href="../../bootstrap/css/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" href="../../toastr/toastr.min.css">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
</head>
<body>
<div class="col-*-12">

    <div id="toolbar" class="form-inline">
        <div class="form-inline" style="margin-left: 150px">
            <label class="sr-only" for="pl_cardSearch">员工编号</label>
            <div class="input-group mb-2 mr-sm-2">
                <input type="text" class="form-control" id="pl_cardSearch" placeholder="员工编号">
            </div>
            <label class="sr-only" for="pl_nameSearch" >员工姓名</label>
            <input type="text" class="form-control mb-2 mr-sm-2" id="pl_nameSearch" style="margin-left: 20px" placeholder="驾驶员">

        </div>
        <div class="form-inline" style="margin-left: 80px;margin-top: 20px">
            <label for="pl_licenseSearch" style="margin-left: 20px">驾照类型</label>
            <select id="pl_licenseSearch"  class="form-control" style="margin-bottom: 5px;margin-left: 5px">
                <option  value="B1">B1</option>
                <option  value="B2">B2</option>
                <option  value="A1">A1</option>
                <option  value="A2">A2</option>
                <option selected ></option>
            </select>
            <label for="pl_stateSearch" style="margin-left: 20px">员工状态</label>
            <select id="pl_stateSearch"  class="form-control" style="margin-bottom: 5px;margin-left: 5px">
                <option  value="2">请假</option>
                <option  value="3">工作</option>
                <option  value="4">休假</option>
                <option selected ></option>
            </select>
            <button type="button" class="btn btn-outline-dark" id="searchPeopleLogBtn" style="margin-left: 20px; margin-bottom: 7px">检索</button>
        </div>
        <div class="btn btn-outline-success" data-toggle="modal" data-target="#updateModal" id="updatePeopleBtn" style="margin-left: 10px;margin-bottom: -13px">修改记录</div>
    </div>
    <table id="peopleLogTab" class="table table-hover"></table>

    <div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myDialogHeaderLable"></h4>
                </div>
                <div class="modal-body">
                    <div id="insertcarinfo" role="form">
                        <!--员工编号-->
                        <div class="form-group">
                            <input type="hidden" id="pl_id">
                            <input type="text" class="form-control" id="pl_card" placeholder="员工编号" readonly>
                        </div>
                        <!--姓名-->
                        <div class="form-group">
                            <input type="text" class="form-control" id="pl_name" placeholder="姓名" readonly>
                        </div>
                        <div class="form-row">
                            <div class="form-group col-md-9">
                                <label for="pl_license">驾照类型</label>
                                <select id="pl_license"  class="form-control">
                                    <option  value="A1">A1</option>
                                    <option  value="A2">A2</option>
                                    <option  value="B1">B1</option>
                                    <option  value="B2">B2</option>
                                    <option selected ></option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <input type="text" class="form-control" id="pl_workdays" placeholder="工作天数">
                        </div>
                        <div class="form-group">
                            <input type="text" class="form-control" id="pl_diverdays" placeholder="出车天数">
                        </div>
                        <label for="pl_state" style="margin-left: 20px">员工状态</label>
                        <select id="pl_state"  class="form-control" style="margin-bottom: 5px;margin-left: 5px">
                            <option  value="2">休假</option>
                            <option  value="3">工作</option>
                            <option  value="4">请假</option>
                            <option selected ></option>
                        </select>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                            <button type="button" class="btn btn-primary" id="addRecord"></button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../../jquery/jquery-3.4.1.min.js"></script>
<script src="../../bootstrap/js/bootstrap.min.js"></script>
<script src="../../bootstrap-table/bootstrap-table.js"></script>
<script src="../../bootstrap-table/locale/bootstrap-table-zh-CN.js"></script>
<script src="../../js/moment-with-locales.js"></script>
<script src="../../bootstrap/js/bootstrap-datetimepicker.min.js"></script>
<script src="../../toastr/toastr.min.js"></script>
<script src="../../js/peoplelog.js"></script>
</body>
</html>